#ifndef __ZAPI_FS_H__
#define __ZAPI_FS_H__

typedef struct ZAPI_FS {
    unsigned long (*FlashFXDeviceIO)(unsigned short uDriveNum, unsigned long ulSectorNum, void *pClientBuffer, unsigned short uSectorCount, unsigned short fReading);
    unsigned long (*FlashFXDeviceIoctl)(unsigned short uDriveNum, unsigned short command, void *buffer);

    unsigned long (*TFCardOpen)();
    unsigned long (*TFCardClose)();
    unsigned long (*TFCardIO)(
                        unsigned short uDriveNum,
                        unsigned long ulSectorNum,
                        void *pClientBuffer,
                        unsigned short uSectorCount,
                        unsigned short fReading);
    unsigned long (*TFCardCapacity)(unsigned long *pulSectorCount);
    unsigned long (*SystemShutDown)();
} ZAPI_FS;

#endif // __ZAPI_FS_H__
